package com.geostar.constructionland.analyse.validtor;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * @Author makoto_zhu
 * @Date 2020-11-13 02:52:54
 * @Description
 **/
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = {AlyValid.class})
public @interface ValidAnalyseModelRule {
    String message() default "Analyse Model is illegal";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
